function showTipModal(options = {}) {
	if(typeof(options) == 'string') {
		options = {
			content: options,
		}
	}
	const stringOptions = JSON.stringify(options)
	uni.navigateTo({
		url: `/pages/common/tipModal?options=${stringOptions}`,
		animationType: 'none',
		events: {
			change: result => {
				setTimeout(() => {
					options.success?.(result)
				},350)
			}
		}
	})
}

export default showTipModal